const DeviceService = require('../service/DeviceService')
module.exports = {
    async postData(req, res, next) {
        var result = await DeviceService.postData(req.body)
        res.send(result)
    },
    async getData(req, res, next) {
        var result = await DeviceService.getData()
        res.send(result)
    },

}